import request from '@/utils/request'
import { getUserId } from '../utils/auth'

// 获取路由
export const getRouters = () => {

  var uid = getUserId()

  const data = {
    data:{
      id:uid
    }
  }
  return request({
    url: '/system/get_rolutes',
    method: 'post',
    data: data
  })
}